package org.hongmeng.mapper;

import org.apache.ibatis.annotations.Param;
import org.hongmeng.entity.User;

public interface UserMapper {
    User selectByUsername(String username);
    
    User selectByEmail(String email);
    
    User selectByPhone(String phone);
    
    int insert(User user);
    
    int updateById(User user);
    
    User selectById(Long id);
    
    int updateStatus(@Param("id") Long id, @Param("status") Integer status);
} 